<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="/view/main/stylesheet.jsp"%>
<link rel="stylesheet" type="text/css" href="${baseurl}/styles/frameword/css/list.css" />
<script src="${baseurl}/styles/frameword/js/list.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	$(function() {
		var url = "/pro-user/";
		var columns = [
				{
					field : 'mobile',
					title : '手机号'
				},
				{
					field : 'userName',
					title : '用户名'
				},
				{
					field : 'addTime',
					title : '注册日期'
				},
				{
					field : 'loginTime',
					title : '登录时间'
				},
				{
					field : 'belongCity',
					title : '归属城市'
				},
				{
					field : 'ageRange',
					title : '年龄范围'
				},
				{
					field : 'socialGroup',
					title : '社会群体'
				},
				{
					field : 'todayIncome',
					title : '今日收入',
					formatter : function(value, row, index) {
						return value/100;
					}
				},
				{
					field : 'balance',
					title : '余额',
					formatter : function(value, row, index) {
						return value/100;
					}
				},
				{
					field : 'withdrawal',
					title : '总收入',
					formatter : function(value, row, index) {
						return (value/100).toFixed(2);
					}
				}
				/* {
					field : 'operate',
					title : '操作',
					align : 'center',
					events : getEventsDefault(url),
					formatter : function(value, row, index) {
						return [
								'<span class="BtnOfDetails pointer glyphicon glyphicon-list" style="margin-right:15px;">详情</span>',//
								'<span class="BtnOfUpdate pointer glyphicon glyphicon-edit" style="margin-right:15px;">编辑</span>',//
								'<span class="BtnOfDel pointer glyphicon glyphicon-remove" style="margin-right:15px;">删除</span>', ]
								.join('');
					},
				}  */
				];
		initListDefault(url, columns)
	})
</script>
</head>
<body class="container-fluid">
	<form class="bs-example bs-example-form" role="form" id="form1">
		<table class="table noline">
			<tbody>
				<tr>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">手机号</span> <input type="text" name="mobile" class="form-control">
						</div>
					</td>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">用户名</span> <input type="text" name="userName" class="form-control">
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">年龄范围</span>
							<wb:html wbCode="pro-age" name="ageRange" nullvalue="true" type="select" />
						</div>
					</td>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">社会群体</span>
							<wb:html wbCode="pro-social-groups" name="socialGroup" nullvalue="true" type="select" />
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">归属城市</span>
							<wb:html wbCode="pro-city" name="belongCity" nullvalue="true" type="select" />
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="text-align: right;">
						<div class="btn-group">
							<button type="button" class="btn btn-info" id="search-button">
								<i class="glyphicon glyphicon-search"></i> 搜索
							</button>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	<table id="table1">
	</table>
</body>

</html>